Skip to content

Repo cleanup: HTTP→HTTPS links, remove overdue deprecated API - #1315

Merged
bact merged 6 commits into
devfrom
copilot/cleanup-unused-code-and-docs
Mar 9, 2026
Merged

Repo cleanup: HTTP→HTTPS links, remove overdue deprecated API#1315
bact merged 6 commits into
devfrom
copilot/cleanup-unused-code-and-docs

Conversation

Copilot AI commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Repo-wide hygiene pass addressing dead/insecure links and an overdue API removal.

What do these changes do

  • 25 files: replace all http:// URLs with https://
  • Outdated reference URLs updated:
    • PEP 8: python.org/dev/peps/pep-0008/peps.python.org/pep-0008/
    • C strftime: cplusplus.comen.cppreference.com
    • Open Multilingual Wordnet: old NTU domain → omwn.org
    • CodingHorror blog: updated to current URL
  • CONTRIBUTING.md: removed mixed-protocol display link (showed http:// text pointing to https:// target)
  • Removed pythainlp.util.is_native_thai: deprecated since v5.0, scheduled removal v5.1, now at v5.2+; use pythainlp.morpheme.is_native_thai

What was wrong

  • ~25 http:// URLs throughout source, docs, and data files — insecure and some now redirect or are stale
  • Several reference URLs pointed to outdated/moved domains (cplusplus.com, old NTU OMW, old python.org PEP path)
  • CONTRIBUTING.md had a confusing reference displaying an old HTTP URL as link text while targeting the correct HTTPS destination
  • pythainlp/util/thaiwordcheck.py remained in the codebase and __all__ past its v5.1 removal deadline

How this fixes it

All http:// links upgraded to https://. Stale domain references updated to current authoritative URLs. The mixed-protocol CONTRIBUTING.md link simplified to a clean <https://...> autolink. pythainlp/util/thaiwordcheck.py deleted, removed from util/__init__.py __all__ and import; removal documented in CHANGELOG under [Unreleased] → Removed.

Your checklist for this pull request

  • Passed code styles and structures
  • Passed code linting checks and unit test

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…_thai

Co-authored-by: bact <128572+bact@users.noreply.github.com>
Copilot AI changed the title [WIP] Clean up unused code, dead links, and irrelevant documents Repo cleanup: HTTP→HTTPS links, remove overdue deprecated API Mar 9, 2026
Copilot finished work on behalf of bact March 9, 2026 03:25
@bact bact added this to the 5.3 milestone Mar 9, 2026
@coveralls

coveralls commented Mar 9, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 65.387% (+0.006%) from 65.381%
when pulling 212b8e3 on copilot/cleanup-unused-code-and-docs
into 573450a on dev.

@bact
bact marked this pull request as ready for review March 9, 2026 03:51
@sonarqubecloud

sonarqubecloud Bot commented Mar 9, 2026

Copy link
Copy Markdown

@bact
bact merged commit 7e01186 into dev Mar 9, 2026
28 checks passed
@bact
bact deleted the copilot/cleanup-unused-code-and-docs branch March 9, 2026 04:17
@bact bact added the refactoring a technical improvement which does not add any new features or change existing features. label Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring a technical improvement which does not add any new features or change existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants